ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 10 - No. 12)

What is the role of an IF-THEN-ELSE statement in conditional statements?
To repeat a section of code.
To define the main program logic.
To select between different values.
To execute different code blocks based on a condition

Giải thích

IF-THEN-ELSE statements execute different code blocks based on a condition, with ELSE providing an alternative path if the condition is false.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc